Skip to content

rotate-screen: recognize Debian 13 for the weston transform update - #89

Merged
eliasbakken merged 1 commit into
mainfrom
fix/rotate-screen-debian13
Aug 9, 2026
Merged

rotate-screen: recognize Debian 13 for the weston transform update#89
eliasbakken merged 1 commit into
mainfrom
fix/rotate-screen-debian13

Conversation

@eliasbakken

Copy link
Copy Markdown
Contributor

Problem

rotate-screen's update_weston() only matched Debian release 10, 11, or 12 before writing transform= into the target's weston.ini. Rebuild moved to Debian 13 (trixie) this cycle, so this fell into the *) branch and silently did nothing - EXTERNAL_SCREEN_ROTATION was being saved to /etc/rebuild-settings correctly, but never actually applied to the touchscreen.

Fix

One-line case pattern change: 11 | 12)11 | 12 | 13).

Test plan

  • Confirmed /etc/debian_version is 13.6 on a live board
  • Applied the fixed logic directly against the live board's weston.ini for EXTERNAL_SCREEN_ROTATION=270 (the value already saved in /etc/rebuild-settings) - correctly set transform=rotate-90
  • Restarted weston + toggle, both came back active
  • Visually confirmed on the physical screen: Toggle UI now displays in the correct orientation

🤖 Generated with Claude Code

update_weston() only matched release 10, 11, or 12 before writing
transform= into weston.ini, so it silently did nothing on Debian 13
(Rebuild moved to trixie this cycle) - EXTERNAL_SCREEN_ROTATION was
being saved but never actually applied to the touchscreen. Verified
on real hardware: applying rotation=270 now correctly sets
transform=rotate-90 and the Toggle UI displays in the right
orientation after a weston/toggle restart.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@eliasbakken
eliasbakken merged commit 35ee2a6 into main Aug 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant